package com.ranjiaqi.thread07;

/**
 * @ClassName Test
 * @Description TODO
 * @Author hp
 * @Date 2021/6/28 18:57
 * @Version 1.0
 **/
public class Test {
    public static void main(String[] args) {
        SubThread subThread = new SubThread();
        Thread thread = new Thread(subThread);
        Thread thread1 = new Thread(subThread);
        Thread thread2 = new Thread(subThread);
        thread.start();
        thread1.start();
        thread2.start();
    }
}
